package com.tyj.tuyijieapp.config.security.password;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

/**
 * <p></p>
 *
 * @author lhf
 * @since 2020/6/7
 */
public class PasswordToken extends UsernamePasswordAuthenticationToken {
    public PasswordToken(Object principal, Object credentials) {
        super(principal, credentials);
    }

    public PasswordToken(Object principal, Object credentials, Collection<? extends GrantedAuthority> authorities) {
        super(principal, credentials, authorities);
    }


}
